/** 
* Element-ui 重置
*/

/**
  * Table - 表格
  */
.el-table {
  th.el-table__cell {
    background: #f4f5f6;
    color: #999 !important;
    padding: 0;
    height: 34px;
    font-weight: 500;
  }

  th.el-table__cell.is-leaf,
  td.el-table__cell {
    padding: 0;
    color: #333;
    border-bottom: 1px solid #ebeef5;
    height: 34px;
  }

  .cell {
    line-height: 22px;
  }
}

/**
  * Drawer - 抽屉
  */
.el-drawer__wrapper {

  // 头部
  .el-drawer__header {
    margin: 0;
    padding: 0 20px;
    height: 44px;
    line-height: 44px;
    color: #fff;
    background: $--color-primary;

    span {
      font-size: 14px;
    }
  }

  // 内容 
  .drawer__content {
    padding: 10px 20px;
    box-sizing: border-box;

    .view-container {
      height: calc(100vh - 110px);
      overflow: auto;

      &.inner-form {
        padding-left: 20px;
        padding-right: 20px;
      }

      .base-info-title {
        font-size: 16px;
        font-weight: bolder;
        height: 36px;
        line-height: 36px;
        margin-bottom: 10px;
      }

      .drawer-line {
        width: 100%;
        height: 1px;
        background: #ffffff;
        border-bottom: 1px dotted #eeeeee;
        margin-bottom: 10px;
      }
    }

    .view-footer {
      width: 100%;
      background: #ffffff;
      display: flex;
      justify-content: center;

      .el-button {
        min-width: 96px;
      }
    }
  }

  .drawer-footer {
    background: #ffffff;
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
  }
}

/**
* Dialog 弹窗
*/
.el-dialog {
  .el-dialog__body {
    padding: 20px 20px 10px 20px;
  }
}

/**
* Notify 消息提示
*/
.el-notification {
  .el-notification__group {
    line-height: 24px;
  }
}



// 树节点选中状态
.is-current {
  >.el-tree-node__content {
    color: $--color-primary;
  }
}

// dns弹窗相关样式
.longUrlLists {
  >div {
    border-bottom: 1px solid #ebeef5;

    &:nth-last-of-type(1) {
      border: 0;
    }
  }
}
